package top.yuechenc.manage.service;

import top.yuechenc.manage.entity.SpPermission;
import top.yuechenc.manage.entity.SpPermissionDto;

import java.util.List;

/**权限管理服务层
 * @author Zhiwei Wang
 * @date 2020/3/12 16:05
 */
public interface PermissionService {
    List<SpPermission> getByParam(SpPermission permission);

    List<SpPermissionDto> getByPid(String pid);

    List<SpPermissionDto> findAll();

    SpPermissionDto getById(String id);
}
